package com.sumer.psychology.comment.domain.model;

import com.sumer.psychology.common.domain.model.AbstractDomainEvent;

/**
 * 评论修改
 * <p/>
 * User: zhenguang.zhu
 * Date: 2014/8/13
 * Time: 10:30
 */
public class CommentChangedEvent extends AbstractDomainEvent {
    private CommentId commentId;
    private String content;

    public CommentChangedEvent(CommentId commentId, String content) {
        super();
        this.commentId = commentId;
        this.content = content;
    }

    public CommentId commentId() {
        return commentId;
    }

    public String content() {
        return content;
    }
}
